import req from './index';

const BASE_URL = '/api';
/**
 * 通知信息
 */

//添加通知信息
export const addNotice = (params) => {return req(params,`${BASE_URL}/noticeController/addNotice`,"post")};

//批量删除通知信息
export const deleteNotices = (params) => {return req(params,`${BASE_URL}/noticeController/deleteNotice`,"post")};

//修改通知信息
export const updateNoticeById = (params) => {return req(params,`${BASE_URL}/noticeController/updateNoticeById`,"post")};

//分页查询通知消息
export const findNoticeByPage = (params) => {return req(params,`${BASE_URL}/noticeController/findNoticeByPage`,"post")};

//根据当前时间查询要通知的内容
export const queryNoticeNowTime = (params) => {return req(params,`${BASE_URL}/noticeController/queryNoticeNowTime`,"post")};

export const userFindPassword = (params)=>{return req(params,`${BASE_URL}/systemController/findPassword`,"post")};

//删除所有为开始的通知
export const deleteUnStartNotice = (params)=>{return req(params,`${BASE_URL}/noticeController/deleteUnStartNotice`,"post")};

//删除所有结束的通知
export const deleteStretedNotice = (params)=>{return req(params,`${BASE_URL}/noticeController/deleteStretedNotice`,"post")};
